package com.epoint.rest;

import com.epoint.domain.SpcInspection;
import com.epoint.mapper.InspectionMapper;
import com.epoint.mapper.SpringBootUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class MybatisService {

    @Autowired
    private InspectionMapper inspectionMapper;

    @Autowired
    private SpringBootUserMapper springBootUserMapper;

    public List<SpcInspection> getInspectionList(String id){
        return inspectionMapper.getInspectionList(id);
    }

    public List<SpcInspection> getInspectionAllList(){
        return springBootUserMapper.getInspectionList();
    }
}
